<ion-header>
    <ion-navbar>
        <ion-title>
            Contact
        </ion-title>
    </ion-navbar>
</ion-header>

<ion-content padding>
    <ion-grid>
        <ion-row>
            <ion-col width-100>
                <ion-list>
                    <form (ngSubmit)="saveForm()">
                        <ion-item>
                            <ion-label fixed>
                                City
                            </ion-label>
                            <ion-input [(ngModel)]="city" name="city" type="text"></ion-input>
                        </ion-item>
                        <ion-item>
                            <ion-label fixed>
                                State
                            </ion-label>
                            <ion-input [(ngModel)]="state" name="state" type="text"></ion-input>
                        </ion-item>
                        <button ion-button type="submit" block color="danger"> 保存</button>
                    </form>
                </ion-list>
            </ion-col>
        </ion-row>
    </ion-grid>
    <button ion-button block (click)="qrsanner()">扫一扫</button>
</ion-content>